//
//  UIView+DVFrame.h
//  DoctorVideo
//
//  Created by 锦食送 on 2019/8/1.
//  Copyright © 2019 lzx. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (DVFrame)

@property (nonatomic, assign) CGFloat dv_x;
@property (nonatomic, assign) CGFloat dv_y;
@property (nonatomic, assign) CGFloat dv_width;
@property (nonatomic, assign) CGFloat dv_height;

@property (nonatomic, assign) CGPoint dv_origin;
@property (nonatomic, assign) CGSize  dv_size;
@property (nonatomic, assign) CGFloat dv_centerX;
@property (nonatomic, assign) CGFloat dv_centerY;

@property (nonatomic, assign, readonly) CGFloat dv_midX;
@property (nonatomic, assign, readonly) CGFloat dv_midY;
@property (nonatomic, assign, readonly) CGFloat dv_maxX;
@property (nonatomic, assign, readonly) CGFloat dv_maxY;

@end

NS_ASSUME_NONNULL_END
